import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

export default new Vuex.Store({
	state:{
		midAddress:[]
	},
	mutations:{
		setMidAddress(state,item){
			state.midAddress.unshift(item)
		},
		delMidAddress(state,index){
			state.midAddress.splice(index,1)
		}
	}
})